package com.example.springlearning.to;

import java.util.concurrent.TimeUnit;

/**
 * @author luo
 * @description
 * @since 2022/8/8 14:38
 */
public class EmptyBatchOrderTo extends BatchOrderTo {
    public EmptyBatchOrderTo(long skuId) {
        super(skuId,0,TimeUnit.MILLISECONDS);
    }


    @Override
    public synchronized boolean getSubtractStockResult() throws InterruptedException {
        return false;
    }
}
